# Maintainer:
pkgname=git-revise
pkgver=0.7.0
pkgrel=4
pkgdesc="Handy tool for doing efficient in-memory commit rebases & fixups with git"
url="https://github.com/mystor/git-revise"
arch="noarch"
license="MIT"
depends="python3 git"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pytest-xdist py3-tox"
subpackages="$pkgname-doc $pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/mystor/git-revise/archive/refs/tags/v$pkgver.tar.gz"
options="!check" # tests fail to import self when not system installed

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
2c61df0854b20319286aa6bf663b3a1a1bcddb4b8aa144ce7850fe5a32a26ad861898d00b423a7fe7ace60b7964149470ad2c144eed2b3e1119df0c34acbe04d  git-revise-0.7.0.tar.gz
"
